﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DigitalAmele.BLL.Authantication;
using DigitalAmele.BLL.Adapters;
using DigitalAmele.WebApp.Core;
using Bxas.Core.Exceptions;
using DigitalAmele.BLL.Core;

namespace DigitalAmele.WebApp
{
    public partial class RemPass : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                load_ddlSecQues();
            }
        }

        private void load_ddlSecQues()
        {
            SecurityQuestionsBs scbs=new SecurityQuestionsBs();
            try
            {
                List<SecurityQuestions> list = scbs.get_all_actives();
                ddlSecQues.DataSource = list;
                ddlSecQues.DataTextField = "Text";
                ddlSecQues.DataValueField = "Id";
                ddlSecQues.DataBind();
                ddlSecQues.Items.Insert(0, new ListItem("Seçiniz", "0"));
            }
            catch (BxasCoreException ex)
            {
                MessageShow(ex.Message, EnumMessageTypes.Hata);
            }
            

            
        }

        protected void lnkBtnSubmit_Click(object sender, EventArgs e)
        {

        }
    }
}